package com.softwarerusher.model;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * TBookreturn entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class TBookreturn implements java.io.Serializable {

	// Fields

	private Integer bookreturnId;
	private TShop TShop;
	private TStaff TStaff;
	private TMember TMember;
	private Date bookreturnTime;
	private Double money;
	private Set TBookreturndetails = new HashSet(0);

	// Constructors

	/** default constructor */
	public TBookreturn() {
	}

	/** minimal constructor */
	public TBookreturn(TShop TShop, TStaff TStaff, TMember TMember,
			Date bookreturnTime, Double money) {
		this.TShop = TShop;
		this.TStaff = TStaff;
		this.TMember = TMember;
		this.bookreturnTime = bookreturnTime;
		this.money = money;
	}

	/** full constructor */
	public TBookreturn(TShop TShop, TStaff TStaff, TMember TMember,
			Date bookreturnTime, Double money, Set TBookreturndetails) {
		this.TShop = TShop;
		this.TStaff = TStaff;
		this.TMember = TMember;
		this.bookreturnTime = bookreturnTime;
		this.money = money;
		this.TBookreturndetails = TBookreturndetails;
	}

	// Property accessors

	public Integer getBookreturnId() {
		return this.bookreturnId;
	}

	public void setBookreturnId(Integer bookreturnId) {
		this.bookreturnId = bookreturnId;
	}

	public TShop getTShop() {
		return this.TShop;
	}

	public void setTShop(TShop TShop) {
		this.TShop = TShop;
	}

	public TStaff getTStaff() {
		return this.TStaff;
	}

	public void setTStaff(TStaff TStaff) {
		this.TStaff = TStaff;
	}

	public TMember getTMember() {
		return this.TMember;
	}

	public void setTMember(TMember TMember) {
		this.TMember = TMember;
	}

	public Date getBookreturnTime() {
		return this.bookreturnTime;
	}

	public void setBookreturnTime(Date bookreturnTime) {
		this.bookreturnTime = bookreturnTime;
	}

	public Double getMoney() {
		return this.money;
	}

	public void setMoney(Double money) {
		this.money = money;
	}

	public Set getTBookreturndetails() {
		return this.TBookreturndetails;
	}

	public void setTBookreturndetails(Set TBookreturndetails) {
		this.TBookreturndetails = TBookreturndetails;
	}

}